package vip.liux.backend.infrastructure.jpa.point;

import org.springframework.data.jpa.repository.JpaRepository;
import vip.liux.contracts.models.point.PointsAccount;
import vip.liux.contracts.repositories.point.IPointsAccountRepository;

import java.util.Collection;
import java.util.List;

public interface JpaPointsAccountRepository extends IPointsAccountRepository, JpaRepository<PointsAccount, Long> {
    List<PointsAccount> findByUserIdIn(Collection<Long> userIds);
}
